<script setup>
import { computed, ref } from 'vue';

const list = ref([90, 29, 80, 100, 53]);
const betterList = computed(() => list.value.filter(v => v >= 90));

setTimeout(() => list.value.push(50, 30, 95), 2000);

// setTimeout(list.value.push, 2000, 50, 30, 95);
// const push = list.value.push
// push(50, 30, 95)

// setTimeout(list.value.push.bind(list.value), 2000, 50, 30, 95);

// const push =  list.value.push.bind(list.value)
// setTimeout(push, 2000, 50, 30, 95);
</script>

<template>
  <div>所有成绩：{{ list }}</div>
  <div>优秀成绩：{{ betterList }}</div>
</template>
